/*INSERTION_TRADOIL*/
/**********************************************************************************************************************/
/* !Layer           : SRVL                                                                                            */
/* !Component       : RTMCLD                                                                                          */
/* !Description     : Real time measurement of CPU load                                                               */
/*                                                                                                                    */
/* !File            : RTMCLD_Co_H.TPL                                                                                 */
/* !Description     : configurations of the RTMCLD component                                                          */
/*                                                                                                                    */
/* !Reference       : PTS_DOC_5385380                                                                                 */
/*                                                                                                                    */
/* Coding language  : OIL                                                                                             */
/*                                                                                                                    */
/* COPYRIGHT VALEO all rights reserved                                                                                */
/**********************************************************************************************************************/
/* Dimension Informations
 * %PCMS_HEADER_SUBSTITUTION_START:%
 * The PID has this format: <Product ID>:<Item ID>.<Variant>-<Item Type>;<Revision>
 * %PID:%
 * %PCMS_HEADER_SUBSTITUTION_END:%
 **********************************************************************************************************************/
'/**********************************************************************************************************************/
/* !Layer           : SRVL                                                                                            */
/* !Component       : RTMCLD                                                                                          */
/* !Description     : Real time measurement of CPU load                                                               */
/*                                                                                                                    */
/* !File            : RTMCLD_Co.h                                                                                     */
/* !Description     : configurations of the RTMCLD component                                                          */
/*                                                                                                                    */
/* !Reference       : PTS_DOC_5385380                                                                                 */
/*                                                                                                                    */
/* Coding language  : C                                                                                               */
/*                                                                                                                    */
/* COPYRIGHT VALEO all rights reserved                                                                                */
/**********************************************************************************************************************/
/* `Date()': generated by Genecode  `Version()'                                                                */
/* From Source Template : RTMCLD_Co_H.TPL                                                                             */
/**********************************************************************************************************************/

#ifndef RTMCLD_CO_H
#define RTMCLD_CO_H



#define RTMCLD_coPREBUILD         0x01
#define RTMCLD_coPOSTBUILD        0x02
#define RTMCLD_coRUNTIME          0x03

#define RTMCLD_coENABLE    0x55
#define RTMCLD_coDISABLE   0xAA



/* !MComment: Define if the loop measurement shall be implemented             */
/*     Shall be equal to RTMCLD_coDISABLE in product software                 */
/*     (RTMCLD_coENABLE is only for RTMCLD validation)                        */
`
RTMCLD_CFG WHERE(LOOP_DURATION_MEASURE = ENABLE)
{
"#define RTMCLD_coLOOP_MEASURE      RTMCLD_coENABLE"
}
RTMCLD_CFG WHERE(LOOP_DURATION_MEASURE = DISABLE)
{
"#define RTMCLD_coLOOP_MEASURE      RTMCLD_coDISABLE"
}


RTMCLD_CFG CONCATE
{
"
/* !Comment: Define the Type of RTMCLD_tudtCpuLoad                            */
"
   WHERE( CPU_LOAD_MEASUREMENT_PERIOD_CONFIG_TYPE == "PREBUILD" )
   {
      "#define RTMCLD_coCONFIGURATION_TYPE   RTMCLD_coPREBUILD"
   }

   WHERE( CPU_LOAD_MEASUREMENT_PERIOD_CONFIG_TYPE == "POSTBUILD" )
   {
       "#define RTMCLD_coCONFIGURATION_TYPE   RTMCLD_coPOSTBUILD"
   }

   WHERE( CPU_LOAD_MEASUREMENT_PERIOD_CONFIG_TYPE == "RUNTIME" )
   {
       "#define RTMCLD_coCONFIGURATION_TYPE   RTMCLD_coRUNTIME"
   }
}
'

#endif /* RTMCLD_CO_H */

/*---------------------------------------------------- end of file ---------------------------------------------------*/
